]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
windowMenu: Animate menu
authorGB_2 <bfeber@protonmail.com>
Thu, 12 Sep 2019 16:01:46 +0000 (16:01 +0000)
committerFlorian Müllner <florian.muellner@gmail.com>
Thu, 12 Sep 2019 16:01:46 +0000 (16:01 +0000)
Most menus have an animation, so add one to the window menu for
consistency and better looks (like !712).

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/717

js/ui/windowMenu.js

index 58ef841d403fd728bda80d5c39b394102a6e73e1..f2fb750bcb0a10a0f0e14ec69c4ce8d64a93c7ec 100644 (file)
@@ -224,7 +224,7 @@ var WindowMenuManager = class {
         this._sourceActor.set_position(rect.x, rect.y);
         this._sourceActor.show();
 
-        menu.open(BoxPointer.PopupAnimation.NONE);
+        menu.open(BoxPointer.PopupAnimation.FADE);
         menu.actor.navigate_focus(null, St.DirectionType.TAB_FORWARD, false);
         menu.connect('open-state-changed', (menu_, isOpen) => {
             if (isOpen)